package com.wzy.service;

import java.util.List;

import com.wzy.page.Page;
import com.wzy.pojo.RoomSetPo;
import org.apache.ibatis.annotations.Param;


public interface RoomSetService {

    /* public List<RoomSetPo> selectAll( );*/

    public int deleteById(Integer id);


    public int insertAll(RoomSetPo roomSetPo);


    public RoomSetPo selectById(Integer id);


    public int updateById(RoomSetPo roomSetPo);

    //模糊查询
    /*		public List<RoomSetPo> fuzzyselectPo(@Param("roomNumber")String roomNumber);*/


    //分页加模糊查询
    public Page<RoomSetPo> pageFuzzyselect(String roomNumber, Page<RoomSetPo> vo);

    //查询全部
    public List<RoomSetPo> selectAll();

    //根据客房登记来查询
    public List<RoomSetPo> selectByLeveId(Integer id);

    // 非本派所用  安排房间时 需要改变当前房间的房态
    public int updateByIdToRoomState(RoomSetPo roomSetPo);


    //非本派所用  查询房间信息
    public List<RoomSetPo> selectInformation(String roomNumber);

    //非本派所用  客服等级来查询房间信息
    public List<RoomSetPo> levelSelectInformation(Integer guestRoomLevelID);

    //ajax 验证是否存在 此房间号
    public int selectYZ(String roomNumber);

    public int selectLevelById(Integer id);

    public int countRoomByLevel(Integer guestRoomLevelID);

}
